|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. Interface for resources that are not local.
Method Summary | |
IStorage |
getBufferedStorage(IProgressMonitor monitor)
Returns an IStorage that contains (or provides access to) the buffered contents of the remote resource. |
String |
getComment()
|
String |
getContentIdentifier()
|
InputStream |
getContents(IProgressMonitor progress)
Returns a stream over the contents of this remote element. |
String |
getCreatorDisplayName()
|
String |
getName()
Answers a string that describes the name of the remote resource. |
boolean |
isContainer()
Answers if the remote element may have children. |
IRemoteResource[] |
members(IProgressMonitor progress)
Answers and array of IRemoteResource elements that are immediate
children of this remote resource, in no particular order. |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Method Detail |
public String getName()
public IRemoteResource[] members(IProgressMonitor progress) throws TeamException
IRemoteResource
elements that are immediate
children of this remote resource, in no particular order.
progress
- a progress monitor to indicate the duration of the operation, or
null
if progress reporting is not required.
TeamException
public InputStream getContents(IProgressMonitor progress) throws TeamException
progress
- a progress monitor to indicate the duration of the operation, or
null
if progress reporting is not required.
TeamException
public boolean isContainer()
true
if the remote element may have children and
false
otherwise.public String getComment() throws TeamException
TeamException
public String getContentIdentifier() throws TeamException
TeamException
public String getCreatorDisplayName() throws TeamException
TeamException
public IStorage getBufferedStorage(IProgressMonitor monitor) throws TeamException
null
if the remote
resource does not have contents (i.e. is not a file).
monitor
-
TeamException
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |